/**
 * 药房出库
 */
class YFOutStorageController {
    public data = {
        loginright: LobsterAPI.ProgramData('loginright'),
        dbConn: LobsterAPI.ProgramData('dbConn'),
        resultdata: { data: {} }
    }
    public tm = new DrugTableModel();

    main(funname: string) {


        if (funname == "book.getdata") {
            // this.data.resultdata = this.getdata();
        }
        //新增修改
        else if (funname == "book.savemodel") {
            // this.data.resultdata.data = this.savemodel();
        }
        //删除
        else if (funname == "book.deletemodel") {
            // this.data.resultdata.data = this.deletemodel();
        }

        //LobsterAPI.TrackLog("book", 'end');

        //注意：这里必须返回self.data.resultdata，不然前端收不到返回值
        return this.data.resultdata;
    }

}